package com.aoorey.util;

public class Default {

	// ///////////////////优惠券订单购买状态 --couponsorder//////////////

	/**
	 * 优惠券订单未支付
	 */
	public final static int COUPONS_ORDER_NOT_PAY = 2001;

	/**
	 * 优惠券订单已支付
	 */
	public final static int COUPONS_ORDER_PAID = 2002;

	/**
	 * 优惠券订单支付中
	 */
	public final static int COUPONS_ORDER_IN_PAY = 2003;
	/**
	 * 优惠券订单支付失败
	 */
	public final static int COUPONS_ORDER_PAY_FAILED = 2004;

	// ///////////////////////用户购买商品订单支付状态 shopOrder/////////////////////////
	/**
	 * 用户订单未支付
	 */
	public final static int SHOP_ORDERR_NOT_PAY = 1001;

	/**
	 * 用户订单已支付
	 */
	public final static int SHOP_ORDER_PAID = 1002;

	/**
	 * 用户订单已取消
	 */
	public final static int SHOP_ORDER_CANCEL = 1003;
	/**
	 * 用户订单已过期
	 */
	public final static int SHOP_ORDER_HAS_EXPIRE = 1004;

	// //////////////////////shopOrder订单支付类型//////////////////////

	/**
	 * 支付宝支付
	 */
	public final static int PAY_BY_ALIPAY = 3001;
	/**
	 * 微信支付
	 */
	public final static int PAY_BY_TENPAY = 3002;
	
	/**
	 * 优惠券全额付款
	 */
	public final static int PAY_BY_FULL_COUPONS = 3003;
	
	
	
	/////////////////////shopcashflow流水类型

	/**
	 *  商户资金流水表中流水类型一：订单入账流水
	 */
	public final static int ORDER_IN_CASHFLOW = 1001;
	/**
	 * 商户资金流水表中流水类型二：提现流水
	 */
	public final static int SETTLED_CASHFLOW = 1002;
	
	
	///////////////////////mongo中订单的状态码///////////////////////////

//	订单状态 1000：正常 1001：商户已设置金额 1002：订单未支付 1003：订单已完成
	
	
	public final static int MONGO_ORDER_HAS_FININSHED = 1003;
	
	
	/////////////////////////////推送的type//////////////////////////////
	
	/**
	 * 商户收款提醒
	 */
	public final static int SHOP_GET_MONEY_TYPE = 3;
	/**
	 * 商户提现申请提醒
	 */
	public final static int SHOP_APPLY_FOR_SETTLE_TYPE = 41;
	/**
	 * 用户支付成功提醒
	 */
	public final static int USER_PAY_ORDER_TYPE = 3;
	/**
	 * 用户支付成功提醒
	 */
	public final static int USER_PAY_COUPONS_TYPE = 4;
	
	
	// ////////////////////////////返回状态码////////////////////////////

	/**
	 * 成功
	 */
	public final static int SUCCESS = 0;
	public final static String SUCCESS_DESC = "success";

	/**
	 * 失败
	 */
	public final static int FAILED = -100000;
	public final static String FAILED_DESC = "未知的错误！";

	/**
	 * 参数不合法
	 */
	public final static int INVALID_PARAMS = -100001;
	public final static String INVALID_PARAMS_DESC = "错误的参数！";

}
